﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AdminManage/Pages/Admin.Master" AutoEventWireup="true" CodeBehind="cache.aspx.cs" Inherits="YWJiXiao.App.WebForm.AdminManage.Pages.cache" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script type="text/javascript"> 
    function cfm() {
        if ($("#<%=tbCacheKey.ClientID %>").val() == '') {
                    alert('请输入缓存key值');$("#<%=tbCacheKey.ClientID %>").focus();
                    return false;
                }
                return confirm('确认清除缓存吗?');
    }
</script>
    <div class="content">        
 <div class="header">
            <div class="stats" style=" display:none">
    <p class="stat"><span class="number">53</span>tickets</p>
    <p class="stat"><span class="number">27</span>tasks</p>
    <p class="stat"><span class="number">15</span>waiting</p>
</div>
 <h1 class="page-title">缓存</h1></div>
        <ul class="breadcrumb">
            <li><a href="default.aspx">管理</a> <span class="divider">/</span></li>
            <li class="active">缓存</li>
        </ul>
<div class="container-fluid">
<div class="row-fluid">
   <div class="block-heading">
           清除缓存
   </div>
   <div class="well">
       缓存键值前缀：<asp:TextBox ID="tbCacheKey" runat="server"></asp:TextBox> 
       <span>请输入缓存KEY值，如果清空全部缓存，请输入*</span>
       <br/>
       <asp:Button ID="btnClearAllCache" OnClientClick="return cfm();" class="btn btn-primary" runat="server" Text="清除全部缓存" />
    </div>   
</div>
</div>
</div>

</asp:Content>
